Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymer builder overhaul #34

Merged
merged 78 commits into from
Dec 12, 2024
Merged

Polymer builder overhaul #34

merged 78 commits into from
Dec 12, 2024

Conversation

timbernat
Copy link
Owner

@timbernat timbernat commented Dec 10, 2024

Description

Enhancements to monomer processing and linear polymer builder

Todos

Notable points that this PR has either accomplished or will accomplish.

  • Adds automatic dependency checks for mbuild/openbabel
  • Addresses De-jankify implementation of DOP in polymer building #24
    • Replaces DOP - 2 hard-code
    • Adds explicit specification for target number of repeat units in polymer
    • Adds extensive validation of periodic copolymer sequences (the PROCRUSTEAN algorithm)
  • Strengthens MonomerGroup
    • Adds add_monomer() method, with validation pre-checks
    • Adds dict-like syntax to directly access contents of .monomers dict
    • Absorbs end group determination (previously done by linear polymer builder)
  • Adds RDKit compatibility to mbuild-generated polymers (with correct PDB residue info)
    • Provides shared interface for implementing Compounds converters/serializers
  • Provides test coverage for MonomerGroup, polymer builders, and copolymer sequencer

Status

  • Check merge compatibility
  • Wait for CI checks to pass

…up.term_orient (head/tail is now key, and residue name is value)
…d to emphasize that calculation being done is non-trivial
@timbernat timbernat changed the title polymerist.polymers overhaul Polymer builder overhaul Dec 10, 2024
@timbernat timbernat merged commit ce9e052 into dev Dec 12, 2024
2 checks passed
@timbernat timbernat deleted the DOP-hotfix branch December 12, 2024 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant